package com.ihg.hiex.admin.entity.dto;

/**
 * 
 * @author houtao
 *
 */
public class LeadAndDevelop {
    
    private String assessorEvalution;
    
    private String internalBenchmark;
    
    private String externalBenchmark;
    
    private int convincingPeople;
    
    private int articulatingInformation;
    
    private int directingPeople;
    
    private int empoweringIndividuals;
    
    private int invitingFeedback;
    
    private int teamWorking;
    
    private int valuingIndividuals;
    
    private int managingTasks;
    
    private int interactingWithPeople;
    
    private int providingInsights;
    
    private int potential;
    
    /**
     * 
     */
    public LeadAndDevelop() {
    }
    
    /**
     * 
     * @param convincingPeople
     * @param articulatingInformation
     * @param directingPeople
     * @param empoweringIndividuals
     * @param invitingFeedback
     * @param teamWorking
     * @param valuingIndividuals
     * @param managingTasks
     * @param interactingWithPeople
     * @param providingInsights
     */
    public LeadAndDevelop(int convincingPeople, int articulatingInformation, int directingPeople,
            int empoweringIndividuals, int invitingFeedback, int teamWorking, int valuingIndividuals, int managingTasks,
            int interactingWithPeople, int providingInsights) {
        this.convincingPeople = convincingPeople;
        this.articulatingInformation = articulatingInformation;
        this.directingPeople = directingPeople;
        this.empoweringIndividuals = empoweringIndividuals;
        this.invitingFeedback = invitingFeedback;
        this.teamWorking = teamWorking;
        this.valuingIndividuals = valuingIndividuals;
        this.managingTasks = managingTasks;
        this.interactingWithPeople = interactingWithPeople;
        this.providingInsights = providingInsights;
        double po = (convincingPeople + articulatingInformation + invitingFeedback + valuingIndividuals + managingTasks + interactingWithPeople + providingInsights) * 0.0714285714285714 
                + (directingPeople + teamWorking) * 0.0714285714285714 
                + (empoweringIndividuals) * 0.214285714285714;
        this.potential = new Double(po).intValue();
    }
    
    /**
     * 
     * @param assessorEvalution
     * @param internalBenchmark
     * @param externalBenchmark
     * @return
     */
    public LeadAndDevelop init(String assessorEvalution, String internalBenchmark, String externalBenchmark) {
        this.assessorEvalution = assessorEvalution;
        this.internalBenchmark = internalBenchmark;
        this.externalBenchmark = externalBenchmark;
        return this;
    }

    /**
     * 
     * @param convincingPeople
     * @param articulatingInformation
     * @param directingPeople
     * @param empoweringIndividuals
     * @param invitingFeedback
     * @param teamWorking
     * @param valuingIndividuals
     * @param managingTasks
     * @param interactingWithPeople
     * @param providingInsights
     * @return
     */
    public LeadAndDevelop init(int convincingPeople, int articulatingInformation, int directingPeople,
            int empoweringIndividuals, int invitingFeedback, int teamWorking, int valuingIndividuals, int managingTasks,
            int interactingWithPeople, int providingInsights) {
        this.convincingPeople = convincingPeople;
        this.articulatingInformation = articulatingInformation;
        this.directingPeople = directingPeople;
        this.empoweringIndividuals = empoweringIndividuals;
        this.invitingFeedback = invitingFeedback;
        this.teamWorking = teamWorking;
        this.valuingIndividuals = valuingIndividuals;
        this.managingTasks = managingTasks;
        this.interactingWithPeople = interactingWithPeople;
        this.providingInsights = providingInsights;
        double po = (convincingPeople + articulatingInformation + invitingFeedback + valuingIndividuals + managingTasks + interactingWithPeople + providingInsights) * 0.0714285714285714 
                + (directingPeople + teamWorking) * 0.0714285714285714 
                + (empoweringIndividuals) * 0.214285714285714;
        this.potential = new Double(po).intValue();
        return this;
    }



    /**
     * @return the assessorEvalution
     */
    public String getAssessorEvalution() {
        return assessorEvalution;
    }

    /**
     * @return the internalBenchmark
     */
    public String getInternalBenchmark() {
        return internalBenchmark;
    }

    /**
     * @return the externalBenchmark
     */
    public String getExternalBenchmark() {
        return externalBenchmark;
    }

    /**
     * @return the convincingPeople
     */
    public int getConvincingPeople() {
        return convincingPeople;
    }

    /**
     * @return the articulatingInformation
     */
    public int getArticulatingInformation() {
        return articulatingInformation;
    }

    /**
     * @return the directingPeople
     */
    public int getDirectingPeople() {
        return directingPeople;
    }

    /**
     * @return the empoweringIndividuals
     */
    public int getEmpoweringIndividuals() {
        return empoweringIndividuals;
    }

    /**
     * @return the invitingFeedback
     */
    public int getInvitingFeedback() {
        return invitingFeedback;
    }

    /**
     * @return the teamWorking
     */
    public int getTeamWorking() {
        return teamWorking;
    }

    /**
     * @return the valuingIndividuals
     */
    public int getValuingIndividuals() {
        return valuingIndividuals;
    }

    /**
     * @return the managingTasks
     */
    public int getManagingTasks() {
        return managingTasks;
    }

    /**
     * @return the interactingWithPeople
     */
    public int getInteractingWithPeople() {
        return interactingWithPeople;
    }

    /**
     * @return the providingInsights
     */
    public int getProvidingInsights() {
        return providingInsights;
    }

    /**
     * @return the potential
     */
    public int getPotential() {
        return potential;
    }

    /**
     * @param assessorEvalution the assessorEvalution to set
     */
    public void setAssessorEvalution(String assessorEvalution) {
        this.assessorEvalution = assessorEvalution;
    }

    /**
     * @param internalBenchmark the internalBenchmark to set
     */
    public void setInternalBenchmark(String internalBenchmark) {
        this.internalBenchmark = internalBenchmark;
    }

    /**
     * @param externalBenchmark the externalBenchmark to set
     */
    public void setExternalBenchmark(String externalBenchmark) {
        this.externalBenchmark = externalBenchmark;
    }

    /**
     * @param convincingPeople the convincingPeople to set
     */
    public void setConvincingPeople(int convincingPeople) {
        this.convincingPeople = convincingPeople;
    }

    /**
     * @param articulatingInformation the articulatingInformation to set
     */
    public void setArticulatingInformation(int articulatingInformation) {
        this.articulatingInformation = articulatingInformation;
    }

    /**
     * @param directingPeople the directingPeople to set
     */
    public void setDirectingPeople(int directingPeople) {
        this.directingPeople = directingPeople;
    }

    /**
     * @param empoweringIndividuals the empoweringIndividuals to set
     */
    public void setEmpoweringIndividuals(int empoweringIndividuals) {
        this.empoweringIndividuals = empoweringIndividuals;
    }

    /**
     * @param invitingFeedback the invitingFeedback to set
     */
    public void setInvitingFeedback(int invitingFeedback) {
        this.invitingFeedback = invitingFeedback;
    }

    /**
     * @param teamWorking the teamWorking to set
     */
    public void setTeamWorking(int teamWorking) {
        this.teamWorking = teamWorking;
    }

    /**
     * @param valuingIndividuals the valuingIndividuals to set
     */
    public void setValuingIndividuals(int valuingIndividuals) {
        this.valuingIndividuals = valuingIndividuals;
    }

    /**
     * @param managingTasks the managingTasks to set
     */
    public void setManagingTasks(int managingTasks) {
        this.managingTasks = managingTasks;
    }

    /**
     * @param interactingWithPeople the interactingWithPeople to set
     */
    public void setInteractingWithPeople(int interactingWithPeople) {
        this.interactingWithPeople = interactingWithPeople;
    }

    /**
     * @param providingInsights the providingInsights to set
     */
    public void setProvidingInsights(int providingInsights) {
        this.providingInsights = providingInsights;
    }

    /**
     * @param potential the potential to set
     */
    public void setPotential(int potential) {
        this.potential = potential;
    }
}
